<template>
  <view>
    <view>test pinia</view>
  </view>
</template>

<script>
import { useTest } from '@/stores/test'
export default {
  name: "Demo_Pinia",
  mounted() {
    console.log(useTest().count)
    useTest().increment()
    console.log(useTest().count)
  }
}
</script>
